package com.dxysun.design.visitor;

public class ConcreteVisitorB implements IVisitor
{

	@Override
	public void visit(ConcreteElementA elementA)
	{
		System.out.print("form ConcreteVisitorB:");
		elementA.operationA();
	}

	@Override
	public void visit(ConcreteElementB elementB)
	{
		System.out.print("form ConcreteVisitorB:");
		elementB.operationB();
	}
}
